package com.ai.aichat.adopter;

import com.ai.aichat.dto.ChatImage;
import com.ai.aichat.dto.ChatMessage;
import com.ai.aichat.dto.ChatMessageStream;
import java.util.function.Consumer;

/**
 * @author lwlianghehe@gmail.com
 * @date 2025/9/15
 */
public interface IAIServiceAdopter {
    ChatMessage sendText(String model, String message);

    void sendText(String model, String message, Boolean stream, Consumer<ChatMessageStream> onDelta);

    ChatImage createImage(String model, String prompt, Integer n, String size);
}
